package com.cinemahorairerapido.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class Cinema implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private Integer id;

	private String allocineCode;

	private String name;

	private String address;

	private String postalCode;

	private String city;

	// private GeoPoint geoPoint;

	private List<String> url = new ArrayList<String>();

	// private String phone;

	// private String urlProgramme;

	private Integer nbTryBeforeGettingResult;

	private List<Movie> program = null;

	public String getAllocineCode() {
		return allocineCode;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public void setAllocineCode(String allocineCode) {
		this.allocineCode = allocineCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public List<String> getUrl() {
		return url;
	}

	public void setUrl(List<String> url) {
		this.url = url;
	}

	public List<Movie> getProgram() {
		return program;
	}

	public void setProgram(List<Movie> program) {
		this.program = program;
	}

	@Override
	public String toString() {
		return allocineCode + " : " + name + ", " + city;
	}

	public Integer getNbTryBeforeGettingResult() {
		return nbTryBeforeGettingResult;
	}

	public void setNbTryBeforeGettingResult(Integer nbTryBeforeGettingResult) {
		this.nbTryBeforeGettingResult = nbTryBeforeGettingResult;
	}

}
